﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace SeaBattle.UI.Web.Models
{
    public class RegistrationModel
    {
        [DisplayName("Name")][Required]
        public string Name { get; set; }

        [DisplayName("Login")][Required]
        public string Login { get; set; }

        [DisplayName("Password")][Required][DataType(DataType.Password)]
        public string Password { get; set; }

        [DisplayName("Confirm your password")][Required][DataType(DataType.Password)]
        public string ConfirmPassword { get; set; }

    }




}